package com.guguskins.back.service;

import com.guguskins.back.entity.GuCarouselMap;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 轮播图表 服务类
 * </p>
 *
 * @author mybatis-plus
 * @since 2021-07-08
 */
public interface GuCarouselMapService extends IService<GuCarouselMap> {

    GuCarouselMap findById(Integer cmId);

    List<GuCarouselMap> availableList( Integer cmType);
    List<GuCarouselMap>findByCmType(Integer cmType);
    void insert(GuCarouselMap carouselMap);
}
